<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<%@include file="/WEB-INF/view/common/css.jsp"%>
<%@include file="/WEB-INF/view/common/systemcss.jsp"%>
<title>Insert title here</title>
<style type="text/css">
body {
	padding: 0;
/* 	background-color: lime; */
}

.form-control {
	display: inline;
	width: 200px;
}

.form-inline {

	text-align: center;
	width: 80%;
	margin: 10px auto;
}

</style>

</head>
<body>
	<div style="margin: 0 auto;">
		<div class="form-inline" >
				<table class="table" >
					<input type="hidden" value ="${nav.id }" />
					<tr>
						<td>名称
						<td><input type="text" class="form-control"
							value="${nav.name }">
					</tr>
					<tr>
						<td>地址
						<td><input type="text" class="form-control"
							value="${nav.path }" ${empty nav.id ? '' : 'readonly="readonly"' } >
					</tr>
					<tr>
						<td>时间
						<td><input type="text" class="form-control" id="datapick"
							value="${nav.updatetime }">
					</tr>
					<tr>
						<td>排序
						<td><input type="number" class="form-control"
							value="${nav.sort }">
					</tr>
					<tr>
						<td>状态
						<td>
						
						<select class="form-control">
								<option
									${nav.status eq '1' ? 'value="1" selected="selected"' :'value="1"' }>可见</option>
								<option
									${nav.status eq '0' ? 'value="0" selected="selected"' :'value="0"' }>不可见</option>
						</select>
					</tr>
				</table>
		</div>
	</div>

	<script type="text/javascript">
		$("#datapick").datetimepicker({

			timepicker : false,
			format : "Y-m-d", //格式化日期
			todayButton : true,

		//关闭选择今天按钮
		});
	</script>
</body>
</html>